<?php
$con= mysql_connect("localhost",  "panospet",  "meipei2c" ); 
			if (!$con) { 
				echo "Failed to connect to MySQL:".mysql_connect_error(); 
			}
			
			mysql_select_db("panospet"); 
	
	    $sql = "INSERT INTO bitwa (user,vaha,vyska,bmi) VALUES ('Franta','100','100','25')";
	    //mysql_query($sql,$con);
      
	    if (!mysql_query($sql,$con)) {
		    echo "Error:".mysql_error();
		    return false;
        }
			
	    	    
	    mysql_close($con); 
?>